package com.nuanshui.heatedloan.module.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.nuanshui.heatedloan.model.Image;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Module {

	private String id;
	private String name;
	private List<Feature> list;
	@JSONField(serialize=false)
	private Integer moreData;
	private String museumModuleName;//场馆当前模块的名字
	private String museumId;//场馆id
	private String museumBuildingId;//场馆的buildingId
	private Integer noMoreData;
	private String introduce;//展馆介绍
	private String museumName;
	private String exhibitionRoomName;
	private String exhibitionName;
	private String cityAddress;//城市地址
	private Image innerMapDefaultImg;

	public String getCityAddress() {
		return cityAddress;
	}

	public void setCityAddress(String cityAddress) {
		this.cityAddress = cityAddress;
	}

	public Image getInnerMapDefaultImg() {
		return innerMapDefaultImg;
	}

	public void setInnerMapDefaultImg(Image innerMapDefaultImg) {
		this.innerMapDefaultImg = innerMapDefaultImg;
	}

	private Map<String,Object> extData;

	public Map<String, Object> getExtData() {
		return extData;
	}

	public void setExtData(Map<String, Object> extData) {
		this.extData = extData;
	}

	public Module()
	{
		//innerMapDefaultImg=new Image();
		extData=new HashMap<String,Object>();
	}
	
	public String getExhibitionRoomName() {
		return exhibitionRoomName;
	}

	public void setExhibitionRoomName(String exhibitionRoomName) {
		this.exhibitionRoomName = exhibitionRoomName;
	}

	public String getMuseumName() {
		return museumName;
	}

	public void setMuseumName(String museumName) {
		this.museumName = museumName;
	}

	public String getExhibitionName() {
		return exhibitionName;
	}

	public void setExhibitionName(String exhibitionName) {
		this.exhibitionName = exhibitionName;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public String getMuseumBuildingId() {
		return museumBuildingId;
	}

	public void setMuseumBuildingId(String museumBuildingId) {
		this.museumBuildingId = museumBuildingId;
	}

	public String getMuseumId() {
		return museumId;
	}

	public void setMuseumId(String museumId) {
		this.museumId = museumId;
	}

	public String getMuseumModuleName() {
		return museumModuleName;
	}

	public void setMuseumModuleName(String museumModuleName) {
		this.museumModuleName = museumModuleName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Feature> getList() {
		return list;
	}

	public void setList(List<Feature> list) {
		this.list = list;
	}

	
	public Integer getMoreData() {
		return moreData;
	}

	public void setMoreData(Integer moreData) {
		this.moreData = moreData;
		this.noMoreData = (this.moreData == 1) ? 0 : 1;
	}
	
	public Integer getNoMoreData() {
		return this.noMoreData;
	}

	public void setNoMoreData(Integer noMoreData) {
		this.noMoreData = noMoreData;
	}
}
